


# hwnds = '2822524,8852526'
# print('窗口句柄' ,hwnds, type(hwnds))
# hwnds = hwnds.split(",")[0]
# # hwnds = split(hwnds, ",")(0)
# print('窗口句柄' ,hwnds, type(hwnds))




# 示例字典
#data = {'Name': 'John', 'Age': 30, 'City': 'New York'}
data = {'id': 'John', 'qname': 30, 'title': 'New York', 'content': 'New York', 'hname': 'New York', 'result': '支局长先审批同意'}
data2 = dict(id=3, qname=30, title='New York', content='New York', hname='New York', result='支局长先审批同意')

# 示例文件路径

append_dict_to_csv(data2)




